package com.example.sunflowers.data.db

import androidx.room.Embedded
import androidx.room.Relation

/**
 *
 * @Author： LJH
 * @Time： 2024/1/26
 * @description：
 */
data class PlantAndGardenPlantings(
    @Embedded
    val plant:Plant,

    @Relation(parentColumn = "id", entityColumn = "plant_id")
    val gardenPlantings:List<GardenPlanting> = emptyList()
)
